Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 22: Adding a Background

../ch22/22fig01.gif
Figure 22.1

A sky sphere with multiple colors.

22fig01.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Background {
    skyColor [
        0.0 0.2 0.7,
        0.0 0.5 1.0,
        1.0 1.0 1.0
    ]
    skyAngle [ 1.309, 1.571 ]
}